package com.ithei.多线程第二天.并发工具类.countDownLatch;

import java.util.concurrent.CountDownLatch;

public class Zhao extends Thread {
    CountDownLatch countDownLatch;

    public Zhao(CountDownLatch countDownLatch) {
        this.countDownLatch = countDownLatch;
    }

    @Override
    public void run() {
        System.out.println(getName()+"来了...........");
        countDownLatch.countDown();
    }
}
